def determine_member_level(consumption, points):
    if consumption >= 1000 and points >= 10000:
        return "钻石会员"
    elif 500 <= consumption < 1000 and 5000 <= points < 10000:
        return "白金会员"
    elif 200 <= consumption < 500 and 2000 <= points < 5000:
        return "黄金会员"
    elif 100 <= consumption < 200 and 1000 <= points < 2000:
        return "白银会员"
    elif 500 <= points < 1000:
        return "青铜会员"
    elif points < 500:
        return "普通会员"
    else:
        return "等级判定失败"

if __name__ == "__main__":
    while True:
        try:
            consumption = float(input("请输入消费金额（元）："))
            points = float(input("请输入积分（分）："))
            level = determine_member_level(consumption, points)
            print(f"会员等级：{level}\n")
        except ValueError:
            print("输入错误，请输入数字！\n")
        except KeyboardInterrupt:
            print("\n程序退出")
            break